All Questions
5 questions
1vote
0answers
487views
java - A* search algorithm
I'm having trouble with my homework implementing A* search algorithm in java, I'm given the graph, origin and destination, I had to follow some specific tasks in the homework so the code might be a ...
0votes
2answers
2kviews
Data structure to count occurrences of words
I have some code for a assignment where the main marks are awarded based on efficiency. The program uses a given wordgenerator which generates random words and adds them to a user-made data structure. ...
4votes
2answers
227views
Develop custom Hash Map
I've got a task to implement custom hash map with only get, put, size functions without remove and implementing base Map interface in Java. I've made one but not sure if it is good one. Can You check ...
20votes
3answers
75kviews
Java implementation of spell-checking algorithm
This little program was written for an assignment in a data structures and algorithms class. I'll just note the basic requirements: Given an inputted string, the program should check to see if it ...
11votes
2answers
24kviews
Hash table implementation in Java
For class, I was asked to write a (linear probing) hash table in Java. (I was also asked to write a linear-chaining hash table, which is why I named this one ...